package com.fsy.service;

import com.fsy.entities.Askers;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fsy.entities.Students;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 凡凡
* @description 针对表【askers】的数据库操作Service
* @createDate 2022-04-29 11:18:39
*/
public interface AskersService extends IService<Askers> {

    /**
     * 通过askerId删除咨询师
     * @param askerId
     * @return
     */
    int deleteByAskerId( Integer askerId);

    /**
     * 咨询师分量权重查询
     * @param askers
     * @return
     */
    List<Askers> findAllAskers(Askers askers);

    //查询条数
    int selectCounts(Askers askers);

    //查询当天签到的咨询师
    List<Askers> findTodayCheckInAsker();

    //查询需要分配咨询师的学生
    List<Students>findeNeedAllocateStudent();
}
